<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>demo-1</title>
    <script type="text/javascript" src="class.js"></script>
</head>
<body>
	<ul id="d1">
		<li>1</li>
		<li>2</li>
		<li>3</li>
		<li>4</li>
	</ul>

    <ol id="d2">
        <li>a</li>
        <li>b</li>
        <li>c</li>
        <li>d</li>
    </ol>

</body>
</html>